package com.htl.mapper;

import com.htl.entity.User;
import com.htl.entity.User2;

import java.util.List;

public interface UserMapper {
    public User findById(Integer id);
    public User2 findById2(Integer id);
    public List<User> findAll();
    public int save(User user);
    public int deleteById(Integer id);
    public int update(User user);
    public User findByName(String name);
    public User findByIdAndName(Integer id,String name);
    public User findByUser(User user);
    public Integer count();
    public String findNameById(Integer id);


}
